{template header}
<form class="form-horizontal" action="index.php?c=admin&a=showtime" method="post" enctype="multipart/form-data">
<div class="control-group">
    <label class="control-label">showtime图片编号图：</label>
    <div class="controls">
        <img src="./static/backend/showtime.jpg">
    </div>
</div>
{loop $dailyShow $k $v}
<div class="control-group">
    <label class="control-label" for="inputTiltle">图（{$k}）：</label>
    <div class="controls">
      <div class="control-group">
        <div class="">
          <span>图片：</span>
          {if $v['imgUrl']}
            <img width="50" src="{$v['imgUrl']}" alt="焦点图">
          {/if}
          <input type="file" name="img_{$k}">
          <span>或者输入图片地址：</span>
          <input type="text" name="imgUrl[{$k}]">
        </div>
      </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <span>跳转帖子ID：</span>
            <input type="text" name="news_id[{$k}]" placeholder="请输入要跳转的帖子ID" value="{$v['news_id']}">
        </div>
      </div>
  </div>
{/loop}
<div class="control-group">
    <div class="controls">
        <input type="hidden" name="action" value="update">
        <button type="submit" class="btn">提交</button>
    </div>
</div>
</form>
{template footer}
